﻿using System;
using System.Linq.Expressions;

namespace EaseDapper.Interface
{
    public interface IUpdateExpressions<T> where T : class
    {
        public Func<Expression<Func<T, bool>>, Func<Expression<Func<T, bool>>, int>> Invoke { get; }
        public  IUpdateExpressions<T> SetValues(Expression<Func<T, bool>> expression);
        public  IUpdateExpressions<T> Where(Expression<Func<T, bool>> expression);
        public int Execute();
    }
}
